package com.oamicnet.serviceone.server.converter;

import com.oamicnet.serviceone.api.account.vo.AccountInfoVO;
import com.oamicnet.serviceone.server.entity.AccountInfo;
import org.mapstruct.Mapper;

import java.util.List;

@Mapper(componentModel = "spring")
public interface AccountInfoConverter {

    AccountInfoVO convertAccountInfoToVO(AccountInfo accountInfo);

    AccountInfo convertFromVO(AccountInfoVO accountInfoVO);

    List<AccountInfoVO> convertToVOList(List<AccountInfo> accountInfoList);
}
